[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [camp] Issue 3: alternate proposed direction
1. Uploading a PDP to the PlatformTo upload a PDP, a client send a HTTP POST request to the Platform URL with the PDP in the entity body of the request (Note: media-type of the request is TBD). On success, the server returns a 201 Created HTTP status code with the Location header that contains the URI that identifies the uploaded PDP.
Example: POST /<platform-url> HTTP/1.1 Host: example.org Content-Type: ... Content-Length: ... ... <PDP> ... HTTP/1.1 201 Created Location: http://example.org/paas/pdps/1 Content-Type: ... Content-Length: ... ...Note that the client can use the value of the 'Location' header in the HTTP response to register the PDP as described in Section 6.11. The same uploaded PDP may be registered by the client more than once.
Comments? -Anish --
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]