Skip to Content
0
Former Member
Aug 03, 2016 at 10:52 PM

PB .NET 12.5.1 build 4953 REST client - custom header possible?

60 Views

Trying to connect as a REST client to the NOAA / National Weather Service - Climate Data Online website which offers REST web services (API v2).

Have been unsuccessful as they require a token to be included in the request header.

Can a custom request / client header be created?

Or has anybody successfully created a REST client to the CDO using API v2?

Or is this not currently possible?

Link: Web Services API (version 2) Documentation | Climate Data Online (CDO) | National Climatic Data Center (NCDC)

If you are unfamiliar with the CDO web service, the above link is a brief "how to use the service", and may help you answer this question.

Thanks in advance.

PS My end goal is to get daily max and min temperature values, for a given U.S. weather station, into a PB classic application.