Uploading docs suggestion (regarding 'Wrong host. Use upload.smugmug.com")

dounddound Registered Users Posts: 72 Big grins
The API documentation on oauth and uploading are great (thanks David/devbobo!) - I've been able to get it to work with only a few bumps along the way. :)

Just one suggestion to make them even better: It took a little time to figure out that I needed to include the "Host" header in my HTTP request. I was connecting to upload.smugmug.com's IP, but it seems that it resolves to the same IP as smugmug.com. If I omit the header "Host: upload.smugmug.com", then my attempt to upload a file fails with the response "Wrong host. Use upload.smugmug.com."
Sign In or Register to comment.