Added default header to myapi.js