Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sample HTTP Message with post method and Basic Authentication  RSS feed

 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to check entire HTTP message (ie. headers and body) that a client would send when POSTing a set of values to a URL as described below.

Four name-value pairs:

firstname: a
lastname: b
company: a & b
id: 21364202416

Hypothetical URL for submission: http://www.abc.com/examplehandler

The URL is protected by Basic Authentication, so you also need to send these credentials:

Username: abc
Password: support
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not really sure what you're asking.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!