> On Aug 2, 2019, at 16:40, Ken Ballentine via curl-library 
> <curl-library@cool.haxx.se> wrote:
> 
> I'm trying to use the following request from curl:
> 
> Curl -X GET -k -I 
> https://returns.usps.com/Services/ExternalCreateReturnLabel.svc/ExternalCreateReturnLabel?externalReturnLabelRequest<ExternalReturnLabelRequest><CustomerName>Chris
>  Brown</CustomerName<CustomerAddress1>901 D Street 
> SW</CustomerAddress1><CustomerAddress2>Suite 
> 101</CustomerAddress2><CustomerCity>Washington</CustomerCity><CustomerState>DC</CustomerState><CustomerZipCode>20024</CustomerZipCode><MerchantAccountID>3</MerchantAccountID><MID>201198</MID><LabelFormat>NOI</LabelFormat><LabelDefinition>3X6</LabelDefinition><ServiceTypeCode>020</ServiceTypeCode><AddressOverrideNotification>true</AddressOverrideNotification><CallCenterOrSelfService>Customer</CallCenterOrSelfService><ImageType>PDF</ImageType></ExternalReturnLabelRequest>
> 
> It errors out at the first <.  If I paste this minus the curl commands 
> directly into the rest client, it works fine.  I just need help formatting 
> this so the curl can handle it.
> 
> 
> 
> Please help.  Any assistance would be appreciated!
> 
> 
> 
Put the entirety of the URL in quotes. The shell is interpreting that first < 
as a redirect. 
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to