Manual Event Data Entry

Hello,

 

I am stuck with a code where i am trying to update event frame data. As i am new to this pi vision where i am not much familiar with the endpoints. While Debugging this code i am getting and error like

 

  1. Headers: {Content-Type: 'application/json; charset=utf-8'}
  2. Status: 200

 

  1. Message: "The requested resource does not support http method 'POST'."
    1. [[Prototype]]: Object
  2. Headers: {Content-Type: 'application/json; charset=utf-8', Allow: 'GET,PUT'}
  3. Status: 405

 

Can anyone help me. It will be very thankful, like my requirement is like manually input event data, such as hours saved, remarks, and opportunity cost. Where i can modify the value and save it,

 

   

Parents Reply
  • ​ ,

    The shared picomm.txt file doesn't seem to be the same version as the one you shared above.

    Judging from the WebID, this is the webID of PISystem, F1 'RS', which is AF Server. There is no ?updateOption in this controller as far as I can see.

    You should try with a test Attribute first on body >> 1.<Resource>.

    Plus, if you know the path already, you can also simply build the WebID directly according to the WebID2.0 specification. This step will remove need for the step 1.

     

Children
No Data