I have to make an HTTP POST request to an URL with the JSON string as the body part. The URL is protected by HTTP Basic

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

I have to make an HTTP POST request to an URL with the JSON string as the body part. The URL is protected by HTTP Basic

Post by answerhappygod »

I have to make an HTTP POST request to an URL with the JSONstring as the body part.
The URL is protected by HTTP Basic Authentication, which isexplained on Chapter 2 of RFC2617, so you have to provide anAuthorization: header field in your POST request
Authorization password
For generating the TOTP password, you will need to usethe following setup:
Shared secret examples
If your POST request succeeds, the server returns HTTP statuscode 200.
HOW TO GENERATE TOTP PASSWORD with the sameconditions?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply