0

I'm using a postman software to test the API response.

I'm getting a proper response with the following URL:

http://www.example.com/wp-json/wc/v1/products?oauth_consumer_key=ck_0e5804165231asdfe89dc8a7c0b4e1d3260&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1475703426&oauth_nonce=QoQ9e3QvCTI&oauth_version=1.0&oauth_signature=TdRs2XsVzdIu4fLoiW8gMWj56VpzrDLZS6mOJ18ZQzc%3DGet

So i went to the code option in postman app, it gives me complete code for this request in objective(NSURL).

But when i copy paste that code in my app and check for the response. it returns 401 server code.

Can someone please guide me a right direction to make it work.

Jimmy
  • 93
  • 1
  • 8

0 Answers0