Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

httpclient_services

suggestion - httpclient_services be included in one of your 'standard' inserts.
Required at least for 'GetCookie'.
I was also wondering that, seeing you use HTTP_Services to 'SetCookie' would it be logical to have 'GetCookie' also available. (I know I am probably missing the point)

Comments

  • suggestion - httpclient_services be included in one of your 'standard' inserts.

    In what sense to you mean "inserts"? This is a function, not an insert, so I'm a bit confused by your suggestion.
    ...seeing you use HTTP_Services to 'SetCookie' would it be logical to have 'GetCookie' also available. (I know I am probably missing the point)

    You are partially missing the point. The SetCookie service is so that your API can create/update a cookie that will be available to the client. There is a GetHTTPCookie service that you can use in your API code to see what a cookie that the client is sending back contains. We named it this way to be consistent with our other request header services (i.e., GetHTTPxxxx).
  • insert API_Setup declares common http functions
    thought it could go in there
  • Okay, so you are simply referring to API_Setup? You didn't mention this in your original post. If so, you are correct. This was omitted as an oversight.
Sign In or Register to comment.