In this post, we will see how to resolve I’m trying to format a response from an api but i keep getting Warning: Undefined array key “timestamp”
Question:Here is the code
Best Answer:I see a “lastUpdate” but no “timestamp”, just change the name in your code. Same for “source” => base and “quotes” => rates.
If you have better answer, please add a comment about this, thank you!