Skip to Main Content
Base SAS 9.4 Procedures Guide, Third Edition
book

Base SAS 9.4 Procedures Guide, Third Edition

by SAS Institute
August 2014
Intermediate to advanced content levelIntermediate to advanced
2218 pages
209h 16m
English
SAS Institute
Content preview from Base SAS 9.4 Procedures Guide, Third Edition
Using Encodings with PROC HTTP
Responses are not encoded to session encodings. You must supply the request with the
encoding that you want to use, and set the content type.
Examples: HTTP Procedure
Example 1: A Simple POST Request
Features: IN= argument
OUT= argument
Details
This example makes a POST method call to a server on the local network. Parameters to
the POST are read from IN and the response is written to Out.txt.
Program
filename in "u:\prochttp\Testware\in";
filename out "u:\prochttp\Testware\out.txt";
data _null_;
file in;
input;
put _infile_;
datalines4;
server=localhost&action=list&type=store&user=your-user-name&password
=your-password&details=true&x=1 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Base SAS 9.4 Procedures Guide, Second Edition

Base SAS 9.4 Procedures Guide, Second Edition

SAS Documentation
Oracle® Database 10g Insider Solutions

Oracle® Database 10g Insider Solutions

Arun Kumar R., John Kanagaraj, Richard Stroupe

Publisher Resources

ISBN: 9781629593043