0

My code for postmates tracking_url :

<iframe src="https://postmates.com/track/del_LtCu2--LzNXzjk" width="100%" height="450" frameborder="0" style="border:0" allowfullscreen ></iframe>

But it will give an error like this:

Refused to display 'http‍s://postmates.com/track/del_LtCu2--LzNXzjk' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I am using nginx on ubuntu 16.04.

R. Richards
  • 24,603
  • 10
  • 64
  • 64
  • Did you check https://stackoverflow.com/questions/6666423/overcoming-display-forbidden-by-x-frame-options ? – Capricorn Sep 08 '18 at 14:18

2 Answers2

0

I would say that the error message is qutie specific.

Try seeting the X-Frame-Options to

ALLOW-FROM https://yourhost.com/

Here is some explanation: X-Frame-Options

Xan-Kun Clark-Davis
  • 2,664
  • 2
  • 27
  • 38
0

No, this is not possible. You will need to create your own map that uses the courier's current location lat/lng. You can get these values via the webhook.

mad_fox
  • 3,030
  • 5
  • 31
  • 43