How to get web headers after successful web response

I’ve been using woocommerce rest api. For update and delete items in cart, cart-token is required. That cart-token is provided by woocommerce rest-api in headers after getting cart items. but there is no block in web web component to get the headers. Can anyone suggest how to get headers, from there i can get cart-token

Hi dear,

https://community.kodular.io/search?q=response%20headers

Searching in the community, I mostly see this :raising_hands:Taifun’s answer being quoted around

while in App Inventor I found this answer from Juan that might help
…it may be a bit inconvenient, but maybe something can be done with the terminal

Or use a google apps script?

Maybe I managed to get something working :partying_face:
I modified the source code of the Web component (Web.java) in App Inventor to return response headers.

2 Likes