Hello! Love your API. After working with it I noticed that if I POST the address data and auth-token, I get a 401 authentication failure message. But if I send the same data using GET, it works just fine.

I also got a 401 authentication error when POSTing the address data and sending the "auth-token" as a header.

I'm going off the documentation that says you can POST or GET the data:

http://smartystreets.com/wiki//liveaddress_api_users_guide#section-4rest-json-endpoint

asked 14 Feb, 11:44

Questions's gravatar image

Questions ♦♦
40182318
accept rate: 15%

edited 03 Apr, 15:45

Jeffrey%20-%20SmartyStreets's gravatar image

Jeffrey - SmartyStreets ♦♦
2.2k14


Are you executing the post from a web browser? If so, lots of browsers don't allow a cross domain POST. You'll either need to execute the API call from one of your servers/machines or use GET (via JSONP).

link

answered 14 Feb, 11:45

Jeffrey%20-%20SmartyStreets's gravatar image

Jeffrey - SmartyStreets ♦♦
2.2k14
accept rate: 50%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×47
×23
×2
×1

Asked: 14 Feb, 11:44

Seen: 166 times

Last updated: 03 Apr, 15:45