Convert CURL request to Angular 2 HTTP get request

I want to get access to the data on wp woocommerce via rest api. I was trying to get data with curl and it’s working. curl https://${sec_key}:${customer_secret}@exmpl.com/wp-json/wc/v1/orders, but now I need to get access with Angular 2 http service. is’t possible?

Read more here: Convert CURL request to Angular 2 HTTP get request

Leave a Reply

Your email address will not be published. Required fields are marked *