# Chapter 10 project: HTTP 403

**URL:** <https://forums.kodeco.com/t/chapter-10-project-http-403/163910>\
**Category:** Reactive Programming with Kotlin\
**Created:** [February 6, 2022, 11:04am UTC](https://forums.kodeco.com/t/chapter-10-project-http-403/163910 "2022-02-06T11:04:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![breakpoint](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/breakpoint/32/102075_2.png) [@breakpoint](https://forums.kodeco.com/u/breakpoint)\
**Post date:** [February 6, 2022, 11:04am UTC](https://forums.kodeco.com/t/chapter-10-project-http-403/163910/1 "2022-02-06T11:04:34Z")

</div>

Calling the EONET endpoint results in

403 Forbidden [https://eonet.gsfc.nasa.gov/api/v2.1/categories](https://eonet.gsfc.nasa.gov/api/v2.1/categories)

although the same URL works in the browser.

---

<div class="post-metadata">

**Author:** ![breakpoint](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/breakpoint/32/102075_2.png) [@breakpoint](https://forums.kodeco.com/u/breakpoint)\
**Post date:** [February 6, 2022, 11:26am UTC](https://forums.kodeco.com/t/chapter-10-project-http-403/163910/2 "2022-02-06T11:26:48Z")

</div>

Solved it by adding

@Headers(“Accept: application/json”)

to the Retrofit interface.
